<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title><?php echo $head_title; ?></title>
  <?php print $head; ?>
  <?php print $styles; ?>
</head>
<body class="<?php print $body_classes ?>">
<div id="container">
  <div id="menu-header">
    <?php print $menu_header; ?>
  </div>
  <!-- Header -->
  <div id="header">
    <?php
    if ($logo || $site_name) {
      print '<div id="logo"><a href="'. check_url($front_page) .'" title="'. $site_name .'">';
      if ($logo) {
        print '<img src="'. check_url($logo) .'" alt="'. $site_name .'" />';
      }
      print $site_html .'</a></div>';
    }
    ?>
    <?php //print $search_box // default of drupal ?>
  </div>
  <!-- /Header -->
  
  <!-- Carousel -->
  <?php //if(isset($carousel)) : ?>
  <div id="carousel">
    <?php print $carousel; ?>
  </div>
  <?php //endif; ?>
  <!-- /Carousel -->
  
  <!-- Main navigation -->
  <?php if(isset($site_main_nav)) : ?>
  <div id="nav">
    <?php print $site_main_nav; ?>
  </div>
  <?php endif; ?>
  <!-- /Main navigation -->
  
  <!-- Breadcrumb -->
  <div id="breadcrumb">
    <?php print $breadcrumb; ?>
  </div>
  <!-- /Breadcrumb -->
  
  <?php /*
    TODO: create container-wrap for content, sidebar, and callouts
    TODO: check for other regions
    TODO: check if $title is needed
  */ ?>
  <!-- Content wrap -->
  <div id="content-wrap">
    <!-- Content -->
    <div id="content">
    <?php if ($title): ?>
      <h1 title="<?php print $title ?>"><?php print $title ?></h1>
    <?php endif; ?>
      <?php print $content; ?>
    </div>
    <!-- /Content -->
    
    <!-- Sidebar -->
    <?php //if(isset($site_sidebar)) : ?>
    <div id="sidebar">
      <?php print $site_sidebar; ?>
    </div>
    <?php //endif; ?>
    <!-- /Sidebar -->
  </div>
  <!-- /Content wrap -->
</div>

<!-- Footer -->
<?php //if(isset($site_footer)) : ?>
  <div id="footer">
    <?php print $site_footer; ?>
  </div>
<?php //endif; ?>
<!-- /Footer -->

<?php print $scripts; ?>
<?php print $closure; ?>
</body>
</html>